package com.taotao.web;

import com.taotao.service.TbContentService;
import com.taotao.TaotaoResult;
import com.taotao.pojo.TbContentExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author evader
 * @date 2020-09-27 17:15
 */
@RestController
public class TbContentController {
    @Autowired
    private TbContentService tbContentService;

    @RequestMapping("/content/dgg")

    public TaotaoResult lunbotu(TbContentExample example){
        TaotaoResult taotaoResult =  tbContentService.selectByExample(example);
        return taotaoResult;
    }
}
